<p-tabPanel [header]="tab.header" [leftIcon]="tab.icon" *ngFor="let tab of tabs; let i = index">
</p-tabPanel>